<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>园林管理系统</title>
    <%@include file="/common/head.jsp" %>
    <script type="text/javascript">
    	function setIframeUrl(url){
        	$("#webContent").attr("src",url);
    	}
    </script>
  </head>
  <body style="background:none;">
  		<!-- LOGO -->
		<div id="page-top-outer" style="background:none;height:62px;">    
		<div id="page-top" >
			<div id="logo" style="margin:0">
			<a href=""><img src="<%=ctx%>/include/images/shared/logo.png" alt="" /></a>
			</div>
			<div class="clear"></div>
		</div>
		</div>
		<div class="clear">&nbsp;</div>
		
		<!-- 菜单栏 -->
		<div class="nav-outer-repeat"> 
		<div class="nav-outer"> 
				<div id="nav-right">		
					<div class="nav-divider">&nbsp;</div>
					<div class="showhide-account"><span style="font-size:13px;color:white;font-weight:bolder;">欢迎您，${sessionScope.user.loginName }</span></div>
					<div class="nav-divider">&nbsp;</div>
					<a href="/ssh/logout.action" id="logout"><span style="font-size:13px;color:white;font-weight:bolder;">退出系统</span></a>
					<div class="clear">&nbsp;</div>		
				</div>
				<div class="nav">
				<div class="table">
				<s:iterator value="%{#session.menus}" var="menu" status="status">
					<s:if test="#status.index==0">
						<ul class="select current">
					</s:if>
					<s:else>
						<ul class="select">
					</s:else>
						<li>
						<a href="#"><b><s:property value="#menu.value.name"/></b>
						<!--[if IE 7]><!-->
						</a><!--<![endif]-->
						<!--[if lte IE 6]>
						<table><tr><td>
						<![endif]-->
						<!-- 遍历二级菜单 -->
						<s:if test="#status.index==0">
							<div class="select_sub  show">
						</s:if>
						<s:else>
							<div class="select_sub">
						</s:else>
							<ul class="sub">
								<s:iterator value="#menu.value.childAuthorities" var="submenu">
									<li><a href="javascript:void(0);" onclick="setIframeUrl('<%=ctx%><s:property value="#submenu.value.url"/>');"><s:property value="#submenu.value.name"/></a></li>
								</s:iterator>
							</ul>
						</div>
						<!--[if lte IE 6]>
						</td></tr></table></a><![endif]-->
						</li>
					</ul>
					<div class="nav-divider">&nbsp;</div>
				</s:iterator>
				
				
				<div class="clear"></div>
				</div>
				<div class="clear"></div>
				</div>
				<!--  start nav -->

		</div>
		<div class="clear"></div>
		</div>
		<div class="clear"></div>
		
		<!-- 主体 -->
		<div id="content-outer">
			<div id="content">
				<table border="0" width="100%" cellpadding="0" cellspacing="0" class="content-table">
					<tr>	
						<th class="topleft"></th>
						<td class="tbl-border-top">&nbsp;</td>
						<th class="topright"></th>	
					</tr>
					<tr>
						<td class="tbl-border-left"></td>
						<td>
							<!-- 页面主体 -->
							<div id="content-table-inner" style="height:620px;">
								<iframe id="webContent" src="common/intruduction.jsp" frameborder="0" scrolling="no" border="0" style="width: 100%; height: 100%; margin: 0px;"></iframe>
							</div>
						</td>
						<td class="tbl-border-right"></td>
					</tr>
					<tr>
						<th class="sized bottomleft"></th>
						<td class="tbl-border-bottom">&nbsp;</td>
						<th class="sized bottomright"></th>
					</tr>
				</table>
				<div class="clear">&nbsp;</div>
			</div>
			<div class="clear">&nbsp;</div>
		</div>
		<div class="clear">&nbsp;</div>
		
		<!-- 页脚 -->
		<div id="footer">
			<center>
				<div id="footer-left">
				园林管理系统 &copy; 2012. All rights reserved.</div>
				<div class="clear">&nbsp;</div>
			</center>
		</div>
		<!-- end footer -->
  		
  </body>
</html>
